package cn.qf.shop.pojo.entity;


import java.util.Date;

/**
 * 数据库小区
 */
public class Community {
    //小区ID
    private int id;
    //小区编号
    private String cNumber;
    //小区名称
    private String cName;
    //小区坐落地址
    private String cAddress;
    //小区占地面积
    private double cSpace;
    //小区总栋数
    private int houseSum;
    //小区总户数
    private int homeSum;
    //小区绿化率
    private double greenRate;
    //小区缩略图
    private String thumbnail;
    //小区开发商名称
    private String developersName;
    //小区物业公司名称
    private String propertyName;
    //创建时间
    private Date createTime;
    //状态
    private int status;
    //备注
    private String comments;

    public Community() {
    }

    public Community(String cNumber, String cName, String cAddress, double cSpace, int houseSum, int homeSum, double greenRate, String thumbnail, String developersName, String perpotyName, Date createTime, int status, String comments) {
        this.cNumber = cNumber;
        this.cName = cName;
        this.cAddress = cAddress;
        this.cSpace = cSpace;
        this.houseSum = houseSum;
        this.homeSum = homeSum;
        this.greenRate = greenRate;
        this.thumbnail = thumbnail;
        this.developersName = developersName;
        this.propertyName = perpotyName;
        this.createTime = createTime;
        this.status = status;
        this.comments = comments;
    }

    public Community(int id, String cNumber, String cName, String cAddress, double cSpace, int houseSum, int homeSum, double greenRate, String thumbnail, String developersName, String perpotyName, Date createTime, int status, String comments) {
        this.id = id;
        this.cNumber = cNumber;
        this.cName = cName;
        this.cAddress = cAddress;
        this.cSpace = cSpace;
        this.houseSum = houseSum;
        this.homeSum = homeSum;
        this.greenRate = greenRate;
        this.thumbnail = thumbnail;
        this.developersName = developersName;
        this.propertyName = perpotyName;
        this.createTime = createTime;
        this.status = status;
        this.comments = comments;
    }


    @Override
    public String toString() {
        return "Community{" +
                "id=" + id +
                ", cNumber='" + cNumber + '\'' +
                ", cName='" + cName + '\'' +
                ", cAddress='" + cAddress + '\'' +
                ", cSpace=" + cSpace +
                ", houseSum=" + houseSum +
                ", homeSum=" + homeSum +
                ", greenRate=" + greenRate +
                ", thumbnail='" + thumbnail + '\'' +
                ", developersName='" + developersName + '\'' +
                ", propertyName='" + propertyName + '\'' +
                ", createTime=" + createTime +
                ", status=" + status +
                ", comments=" + comments +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getcNumber() {
        return cNumber;
    }

    public void setcNumber(String cNumber) {
        this.cNumber = cNumber;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getcAddress() {
        return cAddress;
    }

    public void setcAddress(String cAddress) {
        this.cAddress = cAddress;
    }

    public double getcSpace() {
        return cSpace;
    }

    public void setcSpace(double cSpace) {
        this.cSpace = cSpace;
    }

    public int getHouseSum() {
        return houseSum;
    }

    public void setHouseSum(int houseSum) {
        this.houseSum = houseSum;
    }

    public int getHomeSum() {
        return homeSum;
    }

    public void setHomeSum(int homeSum) {
        this.homeSum = homeSum;
    }

    public double getGreenRate() {
        return greenRate;
    }

    public void setGreenRate(double greenRate) {
        this.greenRate = greenRate;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public String getDevelopersName() {
        return developersName;
    }

    public void setDevelopersName(String developersName) {
        this.developersName = developersName;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }
}
